﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UBCon.Controls.Models
{
    /// <summary>
    /// Represents model class for CalendarItem control.
    /// </summary>
    internal class CalendarItemModel : ModelBase
    {
        //------------------------------------------------------
        //
        //  Constructors
        //
        //------------------------------------------------------
        #region Constructors
        #endregion

        //------------------------------------------------------
        //
        //  Properties
        //
        //------------------------------------------------------
        #region Properties

        /// <summary>
        /// Gets or sets date and time value for the control.
        /// </summary>
        public DateTime DateTime 
        {
            get 
            {
                return _dateTime;
            }
            set 
            {
                _dateTime = value;
            }
        }

        /// <summary>
        /// Gets or sets a boolean value that indicates whether DateTime property equals to today's date.
        /// </summary>
        public bool IsNowDate 
        {
            get 
            {
                return _isNowDate;
            }
            set 
            {
                _isNowDate = value;
            }
        }

        /// <summary>
        /// Gets or sets a boolean value that indicates whether DateTime's month value equals to current month.
        /// </summary>
        public bool IsCurrentMonth 
        {
            get 
            {
                return _isCurrentMonth;
            }
            set 
            {
                _isCurrentMonth = value;
            } 
        }
        #endregion

        //------------------------------------------------------
        //
        //  Overrides
        //
        //------------------------------------------------------
        #region Overrides
        #endregion

        //------------------------------------------------------
        //
        //  Public Methods
        //
        //------------------------------------------------------
        #region Public Methods
        #endregion

        //------------------------------------------------------
        //
        //  Internal Methods
        //
        //------------------------------------------------------
        #region Internal Methods
        #endregion

        //------------------------------------------------------
        //
        //  Private Methods
        //
        //------------------------------------------------------
        #region Private Methods
        #endregion

        //------------------------------------------------------
        //
        //  Event Handlers
        //
        //------------------------------------------------------
        #region Event Handlers
        #endregion

        //------------------------------------------------------
        //
        //  Fields
        //
        //-----------------------------------------------------
        #region Fields

        private DateTime _dateTime;
        private bool _isNowDate, _isCurrentMonth;
        #endregion
    }
}
